#ifndef DOCK_H
#define DOCK_H
#include <QModelIndex>
#include <QtGui>
#include <QtWebKit/QWebView>
#include <QWidget>
#include "videoplayer.h"
#include "networkcommunicator.h"

class Dock : public QWidget
{
    Q_OBJECT

    public:
        explicit Dock(QWidget *parent = 0);

    signals:
        void filterNeedsUpdate(QString word);

    public slots:
        void searchAltered(QString word);
        void performSearch();

    private:
        QLineEdit* searchEdit;
        QLineEdit* filterEdit;
        QPushButton* searchButton;
        QLabel* filterLabel;

};

#endif // DOCK_H
